package fr.umlv.m2.jee.pmlv.service.user;

import java.io.Serializable;

/**
 * Class that represents users information in the LDAP.
 * 
 * @author Karim HAROUNI
 * 
 */

public class User implements Serializable{

	/**
	 * serial version
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * common-name of the user
	 */
	String commonName;
	/**
	 * lastname of the user
	 */
	String lastname;
	/**
	 * user id (used to loggin)
	 */
	String uId;
	/**
	 * user firstname
	 */
	String firstname;
	/**
	 * user telephone number
	 */
	String telephone;
	/**
	 * user mobile number
	 */
	String mobile;
	/**
	 * user number
	 */
	String number;
	/**
	 * user postal adress
	 */
	String postalAddress;
	/**
	 * user email
	 */
	String mail;
	/**
	 * group of the user
	 */
	String group;
	/**
	 * getter of lastname
	 * 
	 * @return user lastname
	 */
	public String getCommonName() {
		return commonName;
	}
		public void setCommonName(String commonName) {
		this.commonName = commonName;
	}
	/**
	 * getter of lastname
	 * 
	 * @return user lastname
	 */
	public String getLastname() {
		return lastname;
	}
	/**
	 * setter of lastname
	 * 
	 * @param lastname
	 */
	public void setLastname(String lastname) {
		this.lastname = lastname;
	}
	/**
	 * getter of uId
	 * 
	 * @return user uId
	 */
	public String getuId() {
		return uId;
	}
	/**
	 * setter of uId
	 * 
	 * @param uId
	 */
	public void setuId(String uId) {
		this.uId = uId;
	}
	/**
	 * getter of firstname
	 * 
	 * @return user firstname
	 */
	public String getFirstname() {
		return firstname;
	}
	/**
	 * setter of firstname
	 * 
	 * @param firstname
	 */
	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}
	/**
	 * getter of telephone number
	 * 
	 * @return user telephone number
	 */
	public String getTelephone() {
		return telephone;
	}
	/**
	 * setter of telephone number
	 * 
	 * @param telephone number
	 */
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	/**
	 * getter of mobile number
	 * 
	 * @return user mobile number
	 */
	public String getMobile() {	
		return mobile;
	}
	/**
	 * setter of mobile number
	 * 
	 * @param mobile number
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * getter of usernumber
	 * 
	 * @return user number
	 */
	public String getNumber() {
		return number;
	}
	/**
	 * setter of user number
	 * 
	 * @param user number
	 */
	public void setNumber(String number) {
		this.number = number;
	}
	/**
	 * getter of postal address
	 * 
	 * @return user postal address
	 */
	public String getPostalAddress() {
		return postalAddress;
	}
	/**
	 * setter of postal address
	 * 
	 * @param user postal address
	 */
	public void setPostalAddress(String postalAddress) {
		this.postalAddress = postalAddress;
	}
	/**
	 * getter of email
	 * 
	 * @return user email
	 */
	public String getMail() {
		return mail;
	}
	/**
	 * setter of user email
	 * 
	 * @param user email
	 */
	public void setMail(String mail) {
		this.mail = mail;
	}
	/**
	 * getter of group
	 * 
	 * @return user group
	 */
	public String getGroup() {
		return group;
	}
	/**
	 * setter of user group
	 * 
	 * @param user group
	 */
	public void setGroup(String group) {
		this.group = group;
	}



}